package com.itheima.service;

/**
 * @author TonyHao
 * @version v 1.0
 * @description UserService实现类
 * @data 2020/2/19
 */

public class UserServiceImpl implements UserService {
    @Override
    public boolean login(String username, String password) {
        System.out.println("service_provide...u: " + username + "p:" + password);
        if("admin".equals(username) && "123".equals(password)){
            return true;
        }
        return false;
    }
}
